import request from '@/utils/request'


// 添加集采目录
export function addGovernmentDirectory(data){
    return request({
        url: "/governmentDirectory/addGovernmentDirectory",
        method: "post",
        data:data
    })
}

// 查询所有集采目录
export function selectAllGovernmentDirectory(data){
    return request({
        url: "/governmentDirectory/allGovernmentDirectory/" + data,
        method: "get"
    })
}

// 删除集采
export function deleteGovernmentDirectory(data){
    return request({
        url: "/governmentDirectory/deleteGovernmentDirectory/" + data,
        method: "get",
    })
}


// 修改集采
export function updateGovernmentDirectory(data){
    return request({
        url: "/governmentDirectory/updateGovernmentDirectory",
        method: "put",
        data:data
    })
}
